<form class="layui-form" go="{{ button.submit.click }}" action="" id="{{ __KEY__ }}">
    <div class="layui-form-item">

    {#    <div class="layui-inline">#}
    {#        <label class="layui-form-label">范围</label>#}
    {#        <div class="layui-input-inline" style="width: 100px;">#}
    {#            <input type="text" name="price_min" placeholder="￥" autocomplete="off" class="layui-input">#}
    {#        </div>#}
    {#        <div class="layui-form-mid">-</div>#}
    {#        <div class="layui-input-inline" style="width: 100px;">#}
    {#            <input type="text" name="price_max" placeholder="￥" autocomplete="off" class="layui-input">#}
    {#        </div>#}
    {#    </div>#}

        {% for k,item in components.input %}
        <div class="layui-inline">
            {% if item.title %}
            <label class="layui-form-label">{{ item.title }}</label>
            {% endif %}
            <div class="layui-input-block">
                <input type="text" name="{{ k }}" autocomplete="off" class="layui-input" {% if item.width %}style="width: {{ item.width }}px"{% endif %}>
            </div>
        </div>
        {% endfor %}

        <div class="layui-inline">
            <button class="layui-btn {% if button.reset.skin %}layui-btn-{{ button.reset.skin }}{% endif %}" lay-submit lay-filter="search">{{ button.submit.text | default('立即提交') }}</button>
        </div>
    </div>
</form>
